package taskcards;

public class InteractiveTaskCard {

	Activity act1, act2,act3,act4,act5;
	String name,aboutMe, picPath,fileName;
	int numActivities;

	public InteractiveTaskCard(String name) {
		this.name = name;
	}



	public void addPicturePath(String picPath) {
		this.picPath = picPath;
	}
	
	public void addAboutMe(String aboutMe){
		this.aboutMe = aboutMe;
	}
	
	public void setNumberofActivities(int numActivites){
		this.numActivities = numActivities; 
	}

	public void addFileName(String filename){
		this.fileName = filename;
	}
	
	public void createOne(){
		act1 = new Activity();
	}
	public void createTwo(){
		act1 = new Activity();
		act2 = new Activity();
	}
	public void createThree(){
		act1 = new Activity();
		act2 = new Activity();
		act3 = new Activity();
	}
	public void createFour(){
		act1 = new Activity();
		act2 = new Activity();
		act3 = new Activity();
		act4 = new Activity();
	}
	public void createFive(){
		act1 = new Activity();
		act2 = new Activity();
		act3 = new Activity();
		act4 = new Activity();
		act5 = new Activity();
	}
	
	public String toString(int count){
		String s = "NAME: " + this.name +"\n";
		s += "PicPath: " + this.picPath + "\n";
		s += "About Me: " + this.aboutMe + "\n";
		s+= "NumberOfActivities: " + this.numActivities +"\n";
		
		// begin using titles
		s += "Activity1Title: " + this.act1.returnHeader() + "\n";
		s += "Activity1Text: " + this.act1.returnText() +"\n";
		s += "Activity1PicPath: " + this.act1.returnPicPath()+ "\n";
		s += "Activity1VidPath: " + this.act1.returnVideoPath() + "\n";
		if(count >= 2){
			s += "Activity2Title: " + this.act2.returnHeader() + "\n";
			s += "Activity2Text: " + this.act2.returnText() +"\n";
			s += "Activity2PicPath: " + this.act2.returnPicPath()+ "\n";
			s += "Activity2VidPath: " + this.act2.returnVideoPath() + "\n";
		}
		if(count >=3){
			s += "Activity3Title: " + this.act3.returnHeader() + "\n";
			s += "Activity3Text: " + this.act3.returnText() +"\n";
			s += "Activity3PicPath: " + this.act3.returnPicPath()+ "\n";
			s += "Activity3VidPath: " + this.act3.returnVideoPath() + "\n";
			
		}
		if(count >=4){
			s += "Activity4Title: " + this.act4.returnHeader() + "\n";
			s += "Activity4Text: " + this.act4.returnText() +"\n";
			s += "Activity4PicPath: " + this.act4.returnPicPath()+ "\n";
			s += "Activity4VidPath: " + this.act4.returnVideoPath() + "\n";
			
		}
		if(count == 5){
			s += "Activity5Title: " + this.act5.returnHeader() + "\n";
			s += "Activity5Text: " + this.act5.returnText() +"\n";
			s += "Activity5PicPath: " + this.act5.returnPicPath()+ "\n";
			s += "Activity5VidPath: " + this.act5.returnVideoPath() + "\n";
				
			}
		
		
		return s;
		
	}
	

}
